package com.szalay.desktopsearch.ui;

import java.awt.BorderLayout;
import javax.swing.Icon;
import javax.swing.ImageIcon;
import javax.swing.JLabel;
import javax.swing.JPanel;

/**
 * The about panel shows information about the application
 * and its creator.
 */
final class AboutPanel extends JPanel {
    private static final long serialVersionUID = 3690348347587364601L;
    
    AboutPanel() {
        setLayout(new BorderLayout());
        final Icon icon = new ImageIcon(AboutPanel.class.getResource("/icons/search.png"));
        add(new JLabel("DesktopSearch, (C) 2013 Michael Szalay", icon, 0), BorderLayout.CENTER);
    }
}
